package org.monster.service;

import java.util.ArrayList;
import java.util.List;

import org.monster.vo.PointVO;
import org.monster.vo.ResultVO;

public class PointService {
	
	List<PointVO> pVO = new ArrayList<PointVO>();
	
	public List<ResultVO> addPoint(PointVO vo) throws Exception{
		
		List<ResultVO> rVO = new ArrayList<ResultVO>();
		
		for(int i=0;i<pVO.size();i++){
			double result = vo.getDistance(pVO.get(i));
			rVO.add(resultVO);
		}
		return rVO;
	}
}
